package org.example.myleet.p435;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(1 == solution.eraseOverlapIntervals(new int[][]{{1,2},{2,3},{3,4},{1,3}}));
        Assert.isTrue(2 == solution.eraseOverlapIntervals(new int[][]{{1,2},{1,2},{1,2}}));
        Assert.isTrue(0 == solution.eraseOverlapIntervals(new int[][]{{1,2},{2,3},{3,4}}));
        Assert.isTrue(2 == solution.eraseOverlapIntervals(new int[][]{{1,100},{11,22},{1,11},{2,12}}));
    }
}
